﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;

namespace Plugin.TradeSharp
{
    public partial class FormNewTradeGroup : Form
    {
        public FormNewTradeGroup()
        {
            InitializeComponent();
        }
        public string TradeGroupName
        {
            get;
            set;
        }
        public string TradeGroupComment
        {
            get;
            set;
        }
        public DateTime TradeGroupTime
        {
            get;
            set;
        }

        private void btn_OK_Click(object sender, EventArgs e)
        {
            this.DialogResult = DialogResult.OK;
            this.TradeGroupName = this.textBox_Name.Text;
            this.Close();
        }

        private void btn_Cancel_Click(object sender, EventArgs e)
        {
            this.DialogResult = DialogResult.Cancel;
            this.Close();
        }
    }
}
